<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:text-align="http://www.w3.org/1999/xhtml"
      xmlns:background-image="http://java.sun.com/JSP/Page" xmlns: xmlns:url xmlns:width="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>

    <link th:href="@{/bootstrap-3.3.7-dist/css/bootstrap.min.css}" rel="stylesheet">

    <style>
        .col-center-block {
            float: none;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }

        .parent {
            height: 100%;
            background-repeat: no-repeat;
            background-image: url("../static/images/bg.jpg");
            background-size: 100%;
        }
    </style>

</head>

<body th:width="200" th:height="600" >
    <div  style=" background-repeat: space ;
background-size:100% 100%;">
        <div class="container">
            <div class="row">
                <div class="col-xs-6 col-md-4 col-center-block">
                    <form action="/tooluser/logina/" method="post">
                        <br>
                        <h2 text-align:center="">登录</h2>
                        <p th:text="${msg}" style="color: crimson;"></p>
                        <label for="user_nameCode" class="sr-only">用户名</label>
                        <input type="text" id="user_nameCode" class="form-control" name="user_nameCode" placeholder="用户名"
                               required autofocus>
                        <br>
                        <label for="user_passwordCode" class="sr-only">密码</label>
                        <input type="password" id="user_passwordCode" class="form-control" name="user_passwordCode"
                               placeholder="密码" required>
                        <div class="checkbox">
                            <label> <input type="checkbox" value="remember-me">
                                记住我
                            </label>
                        </div>
                        <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</body>

</html>



